package com.aracky.system.model.entity;

import com.aracky.common.entitybase.BaseCommonEntity;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 字典数据表
 * </p>
 *
 * @author zengzhiping
 * @since 2022-07-15 09:11:40
 */
@Getter
@Setter
@TableName("sys_dict_data")
@ApiModel(value = "SysDictData对象", description = "字典数据表")
public class SysDictData extends BaseCommonEntity {

    @ApiModelProperty("字典编码")
    @TableId(value = "data_id", type = IdType.AUTO)
    private Long dataId;

    @ApiModelProperty("字典排序")
    @TableField("dict_sort")
    private String dictSort;

    @ApiModelProperty("字典标签")
    @TableField("dict_label")
    private String dictLabel;

    @ApiModelProperty("字典键值")
    @TableField("dict_value")
    private String dictValue;

    @ApiModelProperty("字典类型id")
    @TableField("dict_id")
    private Long dictId;

    @ApiModelProperty("样式属性（其他样式扩展）")
    @TableField("css_class")
    private String cssClass;

    @ApiModelProperty("表格回显样式")
    @TableField("list_class")
    private String listClass;

    @ApiModelProperty("是否默认（1是 0否）")
    @TableField("is_default")
    private Boolean isDefault;

    @ApiModelProperty("状态（1正常 0停用）")
    @TableField("status")
    @TableLogic(delval = "0",value = "1")
    private Boolean status;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;


}
